package net.begincode.servlet.manage;

import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import utils.BQStringUtil;

import com.google.gson.Gson;

import net.begincode.bean.BcUser;
import net.begincode.servlet.common.BaseServlet;

public class NavServlet extends BaseServlet{
	private static final Log LOG = LogFactory.getLog(NavServlet.class);
	
	
	/**
	 * 根据标识获取nav信息
	 * @throws IOException 
	 * @throws ServletException 
	 * */
	public void logout(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{
			this.delCookieInfo(request, response);
			request.getRequestDispatcher("/WEB-INF/page/index.jsp").forward(request, response);
	}

}
